﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

using Bricks.Component.Utils;
using Bricks.Site.Models;


namespace Bricks.Business.Service
{
    public interface IHolidayRequestService
    {
        HolidayRequestView GetHolidayRequestByID(string id);

        void SaveHoliday(Guid id, string userName, string requestReason, DateTime requestStartDate, DateTime requestEndDate);

        void UpdateHoliday(Guid id, string requestReason, DateTime requestStartDate, DateTime requestEndDate, string handleState, bool isUpdateHandleState = false);

        List<HolidayRequestView> GetHolidayRequestByRequestPerson(string userName);

    }
}